/*
 * @Author: 胡海
 * @Date: 2019-11-20 21:52:35
 * @LastEditors: 胡海
 * @LastEditTime: 2020-03-08 15:20:51
 * @Description: 
 */
import request from '@/utils/request'
export function addGoods (data) { // 新增产品
  return request({
    url: 'v1/w-home/addGoods',
    method: 'post',
    data
  })
}
export function goodsList (data) { // 列表产品
  return request({
    url: 'v1/w-home/listGoods',
    method: 'post',
    data
  })
}
export function delGoods (data) { // 删除产品
  return request({
    url: 'v1/w-home/delGoods',
    method: 'post',
    data
  })
}
export function editGoods (data) { // 修改产品
  return request({
    url: 'v1/w-home/editGoods',
    method: 'post',
    data
  })
}

